<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{$title}</title>
<link rel="stylesheet" href="Res/boot/css/bootstrap.min.css" type="text/css" media="screen" />
<script type="text/javascript" src="Res/js/jquery-1.11.3.min.js"></script>
<link rel="stylesheet" href="Res/css/global.css" type="text/css" />
</head>

<body>
<span class="cp_title">用户设置</span>
<div class="table_con" style="margin: 0 auto;text-align: center;">
    <form class="form-horizontal" role="form" action="index.php?c=user&m=new_set" method="post">
    <div class="form-group">
        <label class="col-sm-2 control-label">用户名称：</label>
        <div class="col-sm-5">
            <input type="text"  value="{$user.user_name}" class="form-control" id="user_name" name="user_name" placeholder="用户名称" />
        </div>1
    </div>    
    <div class="form-group">
        <label class="col-sm-2 control-label">邮箱：</label>
        <div class="col-sm-5">
            <input type="text"  value="{$user.email}" class="form-control" id="email" name="email" placeholder="邮箱" />
        </div>
    </div>
        
    <div class="form-group">
        <label class="col-sm-2 control-label">旧密码：</label>
        <div class="col-sm-5">
            <input type="password"  autocomplete="off" value="" class="form-control" id="old_pass" name="old_pass" placeholder="旧密码" />
        </div>
    </div>   
        
    <div class="form-group">
        <label class="col-sm-2 control-label">新密码：</label>
        <div class="col-sm-5">
            <input type="password"  autocomplete="off" value="" class="form-control" id="new_pass" name="new_pass" placeholder="新密码" />
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 control-label">确认密码：</label>
        <div class="col-sm-5">
            <input type="password"  autocomplete="off" value="" class="form-control" id="new_pass_confirm" name="new_pass_confirm" placeholder="确认密码" />
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-5">
            <input type="hidden" value="{$token}" name="token" />
            <input type="hidden" value="{$user.user_id}" name="user_id" />
            <button type="submit" class="btn btn-primary btn-lg btn-block">设置</button>            
        </div>
    </div>
    </form>
</div>
{literal}
<script>    
$(function(){
    
});
</script>
{/literal}
</script>
</body>
</html>

